{% extends 'base.html' %}
{% load static %}

{% block title %}下载{% endblock %}
{% block css %}



{% endblock %}
{% block content %}

    <div style="width: 1200px;height: 1200px;margin: 0 auto">
        <div class="bs-example" data-example-id="hoverable-table">
            <table class="table table-hover">
                <thead>
                <tr>

                    <th>文件名字</th>
                    <th>上传时间</th>
                    <th>下载</th>

                </tr>
                </thead>
                <tbody>
                {% for foo in query %}

                    <tr>
                        <td>{{ foo.pull_name }}</td>
                        <td>{{ foo.create_time }}</td>
                        <td><a href="{% url 'download_file' %}?id={{ foo.id }}" class="btn btn-warning">下载</a></td>
                    </tr>
                {% endfor %}
                </tbody>
            </table>
        </div>

    </div>



{% endblock %}

{% block js %}

{% endblock %}